<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
	  <t:datagrid name="vedioDeviceList" checkbox="true" fitColumns="true" title="视频设备列表" 
	  			  actionUrl="hacVideoController.do?vedioDeviceDatagrid" idField="id" fit="true" queryMode="group">
		  <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  <t:dgCol title="机房id"  field="roomId"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  <t:dgCol title="使用人id"  field="channelid"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
		  
		  <t:dgCol title="更新日期" field="updateTime" hidden="true" query="false" queryMode="single" formatter="yyyy-MM-dd hh:mm" width="120"></t:dgCol>  
		  <t:dgCol title="NVS ID" field="nvsId"  query="false" queryMode="single"  width="120"></t:dgCol>  
		  <t:dgCol title="实验室" field="labName" query="true" queryMode="single"  width="120" replace="${labNames }" ></t:dgCol>  

		  <t:dgCol title="ip地址" field="ip" query="true" queryMode="single"  width="120" ></t:dgCol>  
 
		<t:dgCol title="视频名称" field="alias" query="true" queryMode="single" width="120"></t:dgCol>
		<t:dgCol title="端口号" field="port" query="false" queryMode="single" width="120"></t:dgCol>
  		  <t:dgCol title="登录名" field="loginName" query="false" queryMode="single" width="120"></t:dgCol>  
 		<t:dgCol title="密码"  field="password" query="false" queryMode="single" width="120"></t:dgCol>  
		  <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
		   <t:dgDelOpt title="删除" url="hacVideoController.do?doDel&id={id}" />
		   
		   <t:dgToolBar title="录入" icon="icon-add" url="hacVideoController.do?goAdd" funname="add" height="400" width="480"></t:dgToolBar>
		   <t:dgToolBar title="编辑" icon="icon-edit" url="hacVideoController.do?goUpdate" funname="update" height="400" width="480"></t:dgToolBar>
		   <t:dgToolBar title="批量删除"  icon="icon-remove" url="hacVideoController.do?doBatchDel" funname="deleteALLSelect" ></t:dgToolBar>
		   <t:dgToolBar title="查看" icon="icon-search" url="hacVideoController.do?goUpdate" funname="detail" width="480"></t:dgToolBar>
	  </t:datagrid>
  </div>
</div>